package com.canaan.business.domain.print;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 打印记录对象 wms_print_record
 *
 * @author canaan
 * @date 2025-04-20
 */
@ApiModel(description = "wms_print_record")
@TableName("wms_print_record")
public class PrintRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 托盘 */
    @Excel(name = "托盘")
    @ApiModelProperty("托盘")
    private String trayNo;

    /** 单据号 */
    @Excel(name = "单据号")
    @ApiModelProperty("单据号")
    private String relOrderNo;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;

    /** 地址 */
    @Excel(name = "地址")
    @ApiModelProperty("地址")
    private String address;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Long qty;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String productUnit;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTrayNo(String trayNo)
    {
        this.trayNo = trayNo;
    }

    public String getTrayNo()
    {
        return trayNo;
    }
    public void setRelOrderNo(String relOrderNo)
    {
        this.relOrderNo = relOrderNo;
    }

    public String getRelOrderNo()
    {
        return relOrderNo;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setProductUnit(String productUnit)
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit()
    {
        return productUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trayNo", getTrayNo())
            .append("relOrderNo", getRelOrderNo())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("address", getAddress())
            .append("qty", getQty())
            .append("productUnit", getProductUnit())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
